package vip.sweet.biz.modular.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * @author ASUS
 * @Date 2025/10/5 12:00
 * @Descripition
 */
@TableName("biz_user_addresses")
@SuppressWarnings("ALL")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "业务逻辑用户地址实体类")
public class BizUserAddresses {
    @Schema(description = "用户地址ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @Schema(description = "用户ID")
    private String userId;
    @Schema(description = "省份")
    private String province;
    @Schema(description = "城市")
    private String city;
    @Schema(description = "区县")
    private String district;
    @Schema(description = "详细地址")
    private String detail;
    @Schema(description = "邮编")
    private String postalCode;
    @Schema(description = "是否默认地址")
    private Boolean isDefault;
}
